﻿using LocalTest.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace LocalTest.Infrastructure.Configurations;

public class UserLayerConfiguration : IEntityTypeConfiguration<UserLayer>
{
    public void Configure(EntityTypeBuilder<UserLayer> builder)
    {
        builder.Property(p => p.ConditionText).HasColumnType("text");

        builder.ConfigureRootEntity();
    }
}